<?php
/**
 * 轻云网络验证系统
 * =======================================================
 * 版权所有(C) 2019-2039 daenx.cn，并保留所有权利。
 * 作者：Daen大恩
 * 作者QQ: 1330166565
 * 开发群：661059773
 * =======================================================
 */



include '../data/weby.php';
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="轻云网络验证系统">
<meta name="keywords" content="轻云网络验证系统">
<title>更换授权 - <?php echo $title;?></title>
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<link href="/static/css/music.css" rel="stylesheet" />
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
<link href="/static/css/animate.min.css" rel="stylesheet" />
<link href="/static/css/font-awesome.min.css" rel="stylesheet" />
<link href="/static/css/form.css" rel="stylesheet" />
<link href="/static/css/calendar.css" rel="stylesheet" />
<link href="/static/css/file-manager.css" rel="stylesheet" />
<link href="/static/css/style.css" rel="stylesheet" />
<link href="/static/css/icons.css" rel="stylesheet" />
<link href="/static/css/generics.css" rel="stylesheet" />
<link rel="shortcut icon" href="../<?php echo $route?>img/LightCloud.png" type="image/x-icon" />
<!--[if lt IE 9]>
<script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
<script src="http://libs.useso.com/js/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="qrlogin.js?ver=1004"></script>
<STYLE>.loginscreen.middle-box{width:300px;}.middle-box{max-width:400px;z-index:100;margin:0 auto;padding-top:100px;}</STYLE>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?0de8a795db3f2bcc6c9c374ab7468d22";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body id="skin-blur-violate">
<section class="middle-box " align="center">
<div class="tile p-15">
<div class="container">
<img id="btnAudio" class="profile-pic animated" src="http://q.qlogo.cn/headimg_dl?bs=qq&dst_uin=<?php echo $kfqq; ?>&fid=blog&spec=100" alt="">
<input type="hidden" name="do" value="do">
<div class="form-group">
<section id="main">
<div class="panel-heading" style="text-align: center;"><h3 class="panel-title">
扫码自助更换授权
</div>
<div class="panel-body" style="text-align: center;">
<div class="list-group">
	<select name="cp" id="cp" class="form-control" >
		<option value=''>请选择要查询的产品 </option>
		<?php 
										$sql="select * from products ORDER BY `id` DESC";
										$result=mysqli_query($con,$sql);
										if($result&&mysqli_num_rows($result)){
											while ($row=mysqli_fetch_assoc($result)) {
												if($row['qt']==1){
												echo "<option value='".$row['cp']."'>".$row['cp']."</option>";	}										
											}
										}
									?>
	</select>
	<br>
	<input type="text" class="form-control input-sm" name="rq" id="rq" placeholder='请输入需要现在的机器人QQ' required>
	<br>
	<input type="text" class="form-control input-sm" name="nrq" id="nrq"  placeholder='请输入需要更换成的机器人QQ' required>
	<br>
<div class="list-group-item">1.填写好上面的信息后<br>2：使用你机器人QQ绑定的主人QQ扫描以下二维码<br>3.然后点击确定更换即可<br>4：或者你也可以联系客服进群更换<br>5.点击二维码可以刷新二维码</div>
<div class="list-group-item list-group-item-info" style="font-weight: bold;" id="login">
<span id="loginmsg">使用QQ手机版扫描二维码</span><span id="loginload" style="padding-left: 10px;color: #790909;">.</span>
</div>
<div class="list-group-item" id="qrimg">
</div>
<div class="list-group-item"><a href="#" onclick="loadScript();" class="btn btn-block btn-primary">确定更换</a></div>

</div>
</form>
</div>
</footer>
<a data-toggle="modal" href="javascript:history.back(-1)" class="btn btn-sm m-t-10">返回上一页</a>
<a data-toggle="modal" href="../index.php" class="btn btn-sm m-t-10">查询授权</a>
<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo $kfqq; ?>&amp;site=qq&amp;menu=yes" target="_blank" class="btn btn-sm m-t-10">联系客服</a>
<a href="<?php echo $website; ?>" target="_blank" class="btn btn-sm m-t-10">购买授权</a>
</form>
</div>
<script src="qrlogin.js"></script>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/jquery-ui.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/scroll.min.js"></script>
<script src="/static/js/calendar.min.js"></script>
<script src="/static/js/feeds.min.js"></script>
<script src="/static/js/elfinder.min.js"></script>
<script src="/static/js/music.js"></script>
<script type="text/javascript">
            $(document).ready(function() {
                 $('#fileManager').elfinder({
                      resizable: false,
                      url : 'php/connector.minimal.php',  // connector URL (REQUIRED)
                      uiOptions : {
                      toolbar : [
                              ['back', 'forward', 'home', 'reload'],
                              ['mkdir', 'mkfile', 'upload'],
                              ['view', 'sort'],
                              ['search']
                      ]},
                      height: 500
                 });
                 
                 $('.elfinder-cwd-wrapper, .elfinder-navbar').niceScroll();
            });
</script>
</body>
</html>
